//
//  MenuScreeningView.h
//  LinkageMenu
//
//  Created by mango on 2017/3/4.
//  Copyright © 2017年 mango. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MenuScreeningViewDelegate  <NSObject>
@optional
- (void)menuScreeningViewRequestType:(NSInteger)type ID:(NSInteger)ID;
@end

@interface MenuScreeningView : UIView

@property (nonatomic,weak) id delegate;

@property (nonatomic,strong) NSArray *firstTypes;

@property (nonatomic,strong) void (^endEndingBlock)();
//从首页直接把名字带过来初始化menu
- (instancetype)initWithFrame:(CGRect)frame firstTypeName:(NSString *)name;
- (void)menuScreeningViewDismiss;

@property (nonatomic,assign) CGFloat showY;

@property (nonatomic,strong) void (^zeroClick)(UIButton *btn);

@end
